38 research outputs found

    Code generation for RESTful APIs in HEADREST

    Get PDF
    Tese de mestrado, Engenharia Informática (Engenharia de Software) Universidade de Lisboa, Faculdade de Ciências, 2018Os serviços web com APIs que aderem ao estilo arquitetural REST, conhecidos por serviços web RESTful, são atualmente muito populares. Estes serviços seguem um estilo cliente-servidor, com interações sem estado baseadas nos verbos disponibilizados pela norma HTTP. Como meio de especificar formalmente a interação entre os clientes e fornecedores de serviços REST, várias linguagens de definição de interfaces (IDL) têm sido propostas. No entanto, na sua maioria, limitam-se ao nível sintático das interfaces que especificam e à descrição das estruturas de dados e dos pontos de interação. A linguagem HEADREST foi desenvolvida como uma IDL que permite ultrapassar estas limitações, suportando a descrição das APIs RESTful também ao nível semântico. Através de tipos e asserções é possível em HEADREST não só definir a estrutura dos dados trocados mas também correlacionar o output com input e o estado do servidor. Uma das principais vantagens de ter descrições formais de APIs RESTful é a capacidade de gerar código boilerplate tanto para clientes como fornecedores. Este trabalho endereça o problema de geração de código para as APIs RESTful descritas com HEADREST e investiga de que forma as técnicas de geração de código existentes para os aspectos sintáticos das APIs RESTful podem ser estendidas para levar em conta também as propriedades comportamentais que podem ser descritas em HEADREST. Tendo em conta que a linguagem HEADREST adota muitos conceitos da Open API Specification (OAS), o trabalho desenvolvido capitaliza nas técnicas de geração de código desenvolvidas para a OAS e envolveu o desenvolvimento de protótipos de geração de código cliente e servidor a partir de especificações HEADREST.Web services with APIs that adhere to the REST architectural style, known as RESTful web services, have become popular. These services follow a client-server style, with stateless interactions based on standard HTTP verbs. In an effort to formally specify the interaction between clients and providers of RESTful services, various interface definition languages (IDL) have been proposed. However, for the most part, they limit themselves to the syntactic level of the interfaces and the description of the data structures and the interaction points. The HEADREST language was developed as an IDL that addresses these limitations, supporting the description of the RESTful APIs also at the semantical level. Through the use of types and assertions we not only define the structure of the data transmitted but also relate output with input and the state of the server. One of the main advantages of having formal descriptions of RESTful APIs is the ability to generate a lot of boilerplate code for both clients and servers. This work addresses the problem of code generation for RESTful APIs described in HEADREST and aims to investigate how the existing code generation techniques for the syntactical aspects of RESTful APIs can be extended to take into account also the behavioural properties that can be described in HEADREST. Given that HEADREST adopts many concepts from the Open API Specification (OAS), this work capitalised on the code generation tools available for OAS and encompassed the development of a prototypical implementation of a code generator for clients and servers from HEADREST specifications

    Discovering TV contents in a second screen app: perspectives from Portuguese and Brazilian markets

    Get PDF
    The actual trends in the TV ecosystem present considerable social, organisational and technological challenges in the value-chain of Pay-TV operators. Among these is the global increase in bandwidth, the shifting of the storage capacity in the cloud, and the affordability of traditional content providers when facing the competitiveness of OTT content. In this framework, Pay-TV operators are presenting their customers with a huge offer of contents available from linear-TV, Catch-up TV and VoD services. However, this overloaded TV ecosystem is likely to lead viewers to get lost and face difficulties when deciding what to watch on TV. To overcome these difficulties and be competitive, operators need to provide innovative and trustable solutions, alternative to traditional EPGs, enabling users to discover the right content for a specific context. To target this problem, a second screen application (GUIDER) was developed to offer an original user interface, based on a multidimensional spatial representation of TV contents for those mindless zapping situations where viewers do not know, in advance, what they are in the mood to watch. This paper reports on the evaluation of the GUIDER App, aiming to determine the level of interest in the several features implemented and in the filtering criteria available; identify usability issues; and predicting the future uses of the App in domestic scenarios. The evaluation was made in Portugal and Brazil with a convenience sample of 20 participants in each country. Despite the differences in the TV ecosystems, both countries appear to be promising markets for this new kind of second screen applications, with Brazilians showing a higher perception of the added value of GUIDER

    DIFERENCIAIS DE RENDIMENTOS ENTRE ATIVIDADES AGRÍCOLAS E NÃO AGRÍCOLAS NO MEIO RURAL NORDESTINO

    Get PDF
    The Brazilian rural environment underwent several transformations that currently collaborate for the new ways of production and modernization of work in the field. The question asked in the present study is whether these new labor habits contribute both to income generation and to the support of rural families, providing a broader economic and social perspective. In response to this problem, the aim is to estimate income differentials between agricultural and non-agricultural activities in the Brazilian Northeast. The data used come from the PNAD (2015) and the models used were Blinder-Oaxaca and RIF Regression. It can be seen that non-agricultural activities generate higher yields when compared to agricultural ones. Of all the variables used in the sample, schooling is the one that best explains the fact that nonagricultural activities earn higher incomes than agricultural ones, with the states of Alagoas, Ceará and Piauí contributing the most to income concentration in the Region. Finally, we prove the importance of non-agricultural activities for the development of rural Brazilian northeasternO meio rural brasileiro passou por diversas transformações que atualmente colaboram para as novas maneiras de produção e modernização do trabalho no campo. A questão indagada no presente trabalho é se esses novos hábitos laborais contribuem tanto para a geração de rendimentos como para a sustentação de famílias rurais, proporcionando a ampliação de perspectivas econômicas e sociais. Em resposta a esse problema, objetiva-se estimar os diferenciais de rendimentos entre as atividades agrícolas e não agrícolas no meio rural nordestino brasileiro. Os dados utilizados são provenientes da PNAD (2015) e os modelos usados foram Blinder-Oaxaca e RIF Regression. Constata-se que as atividades não agrícolas geram rendimentos maiores quando comparadas com as agrícolas. De todas as variáveis utilizadas na amostra, a escolaridade é a que explica melhor o fato de as atividades não agrícolas auferirem rendimentos superiores ao das agrícolas, sendo os Estados de Alagoas, Ceará e Piauí os que mais contribuem para a concentração de renda na Região. Por fim, comprova-se a importância das atividades não agrícolas para o desenvolvimento do meio rural nordestino brasileiro

    Extracellular vesicles shed by trypanosoma brucei brucei manipulate host mononuclear cells

    Get PDF
    Funding Information: Funding: This study was supported by FCT—Foundation for Science and Technology, I.P., through research grant PTDC/CVT-CVT/28908/2017 and by national funds within the scope of Centro de Investigação Interdisciplinar em Sanidade Animal (CIISA, UIDB/00276/2020) and Global Health and Tropical Medicine (GHTM, UID/04413/2020). Funding Information: This study was supported by FCT?Foundation for Science and Technology, I.P., through research grant PTDC/CVT-CVT/28908/2017 and by national funds within the scope of Centro de Investiga??o Interdisciplinar em Sanidade Animal (CIISA, UIDB/00276/2020) and Global Health and Tropical Medicine (GHTM, UID/04413/2020). Publisher Copyright: © 2021 by the authors. Licensee MDPI, Basel, Switzerland.African trypanosomiasis or sleeping sickness is a zoonotic disease caused by Trypanosoma brucei, a protozoan parasite transmitted by Glossina spp. (tsetse fly). Parasite introduction into mammal hosts triggers a succession of events, involving both innate and adaptive immunity. Macrophages (MΦ) have a key role in innate defence since they are antigen-presenting cells and have a micro-bicidal function essential for trypanosome clearance. Adaptive immune defence is carried out by lymphocytes, especially by T cells that promote an integrated immune response. Like mammal cells, T. b. brucei parasites release extracellular vesicles (TbEVs), which carry macromolecules that can be transferred to host cells, transmitting biological information able to manipulate cell immune response. However, the exact role of TbEVs in host immune response remains poorly understood. Thus, the current study examined the effect elicited by TbEVs on MΦ and T lymphocytes. A combined approach of microscopy, nanoparticle tracking analysis, multiparametric flow cytometry, colourimetric assays and detailed statistical analyses were used to evaluate the influence of TbEVs in mouse mononuclear cells. It was shown that TbEVs can establish direct communication with cells of innate and adaptative immunity. TbEVs induce the differentiation of both M1-and M2-MΦ and elicit the expansion of MHCI+, MHCII+ and MHCI+ MHCII+ MΦ subpopulations. In T lymphocytes, TbEVs drive the overexpression of cell-surface CD3 and the nuclear factor FoxP3, which lead to the differentiation of regulatory CD4+ and CD8+ T cells. Moreover, this study indicates that T. b. brucei and TbEVs seem to display opposite but complementary effects in the host, establishing a balance between parasite growth and controlled immune response, at least during the early phase of infection.publishersversionpublishe

    Variabilidade Genética de Bovinos das Raças Guzerá e Senepol por Marcadores Microssatélites

    Get PDF
    Bovine production plays economic importance in Brazil and Guzerat and Senepol breeds are producer of meat. It was aimed to analyze the genetic variability of Guzerat and Senepol breeds by microsatellite markers. The breeds were collected and genotyped for ten microsatellite loci by automatic sequencer and statistically analysed. A total of 53 alleles were observed being the average number was 5.3 in both breeds. The effective numbers of alleles were 3.36 for Guzerat and 3.11 for Senepol cattle. The Shannon indexes were 1.36 for Guzerat and 1.26 for Senepol cattle. The expected heterozigosity were 0.71 and PIC values were 0.64 in both breeds. The FIS were 0.01 and 0.11 for Guzerat and Senepol breeds, respectively and Hardy-Weinberg equilibrium were P>0.05 for Guzerat and P<0.05 for Senepol cattle. The combined discrimination powers were 0.99 in both breeds and combined exclusion powers (PE1) were 0.99 in both breeds and combined exclusion powers (PE2) were 0.96 and 0.95 for Guzerat and Senepol breeds espectively. There is genetic variability in both breed, but there are evidences of inbreeding enabling genetic drift and should be necessary to use major number of microsatellite loci to analyze with high efficiency the exclusion power (PE2).A bovinocultura desempenha função importante na economia Brasileira e as raças Guzerá e Senepol são produtoras de carne. Objetivou-se analisar as variabilidades genéticas das raças Guzerá e Senepol através dos marcadores microssatélites. Os animais foram coletados e genotipados para dez locimicrossatélites em um sequenciador automático de DNA e analisado estatisticamente. Um total de 53 alelos foi observado com número médio de 3,36 para Guzerá e 3,11 para a raça Senepol. Os índices de Shannon foram 1,36 para Guzerá e 1,26 para raça Senepol. As heteroziosidades esperadas foram 0,71 e os valores de PIC foram 0,64 em ambas as raças. Os valores de FISforam 0,01 e 0,11 para Guzerá e Senepol, espectivamente e as proporções de Hardy-Weinberg foram não ignificativas em Guzerá (P>0,05) e significativas em Senepol (P<0,05). Os poderes de discriminação combinados foram 0,99 em ambas as raças e os poderes de exclusões combinados (PE1) foram 0,99 em ambas as raças e os poderes de exclusão combinados (PE2) foram 0,96 e 0,95 em Guzerá e Senepol, respectivamente. Existe variabilidade genética em ambas as raças, mas existem evidências de endocruzamentos por consequência da deriva genética e seria necessário avaliar um maior número de locimicrossatélites para aumentar a eficiência no poder de exclusão (PE2

    Friction stir spot welding of a TRIP steel : microestructural characterization

    Get PDF
    Este trabalho tem como objetivo investigar a influência da velocidade de rotação (1.600 RPM e 2.400 RPM) no desenvolvimento microestrutural de um aço TRIP soldado a ponto por fricção e mistura mecânica. Após a execução das soldas, devido aos ciclos térmicos e deformações impostas pelo processo, são observadas três diferentes zonas nas juntas: a zona de mistura (ZM), a zona termomecanicamente afetada (ZTMA), e a zona termicamente afetada (ZTA). O aumento da velocidade de rotação causou um aumento na quantidade de ferrita alotriomorfa formada na ZM, assim como redução na quantidade e tamanho de bainita coalescida e martensita. Na ZTMA a microestrutura é constituída por ferrita, austenita, bainita coalescida e martensita. Enquanto que na ZTA1 a microestrutura é composta por ferrita e austenita retida em todas as velocidades usadas, na ZTA2 há maior transformação da austenita em bainita com o aumento da velocidade de rotação.The aim of this work is to verify the influence of the rotational speed (1600 and 2400 RPM) in the microstructural development of a friction stir spot welded TRIP steel. After the welding, due to the thermal cycles and deformations imposed by the process, three different zones are observed in the joints: the stir zone (SZ), the thermomecanically affected zone (TMAZ), and the heat affected zone (HAZ). The increase in the rotational speed caused an increase in the amount of allotriomorphic ferrite formed in the SZ, and a decrease in the amount and width of the coalesced bainite and martensite. In the TMAZ, the microstructure is composed by ferrite, austenite, coalesced bainite and martensite. While in the HAZ1 the microstructure is constituted by ferrite and retained austenite in all rotational speeds employed, in the HAZ2 there is an increase in the transformation of austenite into bainite by increasing the rotational speed

    Assessment of diversity of native species produced in forest nurseries of Rio de Janeiro State

    Get PDF
    AbstractThe objective of this paper was to evaluate the diversity of native species produced by nurseries in the State of Rio de Janeiro. The diagnostic and survey were conducted during the months of February, March and April of the year 2010, the research included all nurseries that produced seedlings of Atlantic Forest species. The fieldwork consisted of visits to the 70 surveyed nurseries, in which a list of the species produced in the nursery was requested and the seedling production manager was interviewed, filling in a questionnaire covering various topics related to seedlings production. We observed 277 forest species native from the Atlantic Forest produced in the nurseries. In average, the nurseries produce 56 different native species. The total diversity of native species produced in the State of Rio de Janeiro is low, as well as the mean diversity, since more than half of the nurseries work with a list of 50 or fewer species, what is insufficient considering the diversity of forest species that occur in the different vegetation types of the state.Keywords: Forest seedlings; forest restoration; Atlantic Forest.O objetivo deste trabalho foi avaliar a diversidade de espécies florestais nativas produzidas nos viveiros do estado do Rio de Janeiro. O levantamento e diagnóstico foram realizados durante os meses de fevereiro, março e abril de 2010, sendo incluídos os viveiros que produziam mudas de espécies florestais da Mata Atlântica. O trabalho de campo consistiu em visitas a 70 viveiros florestais, nos quais foi requerida a lista das espécies produzidas e realizada entrevista com o responsável, sendo preenchido um questionário englobando diversos temas relacionados à produção de mudas. Foram observadas 277 espécies florestais nativas da Mata Atlântica sendo produzidas nos viveiros, que, em média, trabalham com 56 espécies nativas. A diversidade total de espécies florestais da Mata Atlântica produzidas nos viveiros do Estado do Rio de Janeiro é baixa, assim como a diversidade média, já que mais da metade dos viveiros trabalha com uma listagem de 50 ou menos espécies, número insuficiente considerando a diversidade de espécies florestais presentes nas diferentes formações vegetais do estado.Palavras-chave: Mudas florestais; restauração florestal; Mata Atlântica. AbstractAssessment of diversity of native species produced in forest nurseries of Rio de Janeiro State. The objective of this paper was to evaluate the diversity of native species produced by nurseries in the State of Rio de Janeiro. The diagnostic and survey were conducted during the months of February, March and April of the year 2010, the research included all nurseries that produced seedlings of Atlantic Forest species. The fieldwork consisted of visits to the 70 surveyed nurseries, in which a list of the species produced in the nursery was requested and the seedling production manager was interviewed, filling in a questionnaire covering various topics related to seedlings production. We observed 277 forest species native from the Atlantic Forest produced in the nurseries. In average, the nurseries produce 56 different native species. The total diversity of native species produced in the State of Rio de Janeiro is low, as well as the mean diversity, since more than half of the nurseries work with a list of 50 or fewer species, what is insufficient considering the diversity of forest species that occur in the different vegetation types of the state.Keywords: Forest seedlings; forest restoration; Atlantic Forest
    corecore